package com.xp.kettlegenerate.conf;

import lombok.extern.slf4j.Slf4j;
import org.pentaho.di.core.KettleEnvironment;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class InitKettleEnv implements CommandLineRunner {
    @Override
    public void run(String... args) throws Exception {
        KettleEnvironment.init();
        log.info("kettle环境初始化");
    }
}
